/**
 * Zhz.net Inc.
 * Copyright (c) 2004-2010 All Rights Reserved.
 */
package com.zhz.lib.project.controller.form;

import com.zhz.project.common.util.alibaba.StringUtil;
import com.zhz.project.common.util.zhzutil.ZhzStringUtil;

/**
 * 
 * @author liwei
 * @version $Id: LibnewsForm.java, v 0.1 2010-12-12 下午02:55:01 liwei Exp $
 */
public class FaqForm extends BaseForm {
    private String question;
    private String sort;

    /**
     * @return the question
     */
    public String getQuestion() {
        return question;
    }

    /**
     * @param question
     *            the question to set
     */
    public void setQuestion(String question) {
        if (StringUtil.isNotBlank(question)) {
            this.question = ZhzStringUtil.ISOtoUTF8AfterTrimIfNotNull(question);
        } else {
            this.question = null;
        }
    }

    /**
     * @return the sort
     */
    public String getSort() {
        return sort;
    }

    /**
     * @param sort
     *            the sort to set
     */
    public void setSort(String sort) {

        if (StringUtil.isNotBlank(sort)) {
            this.sort = ZhzStringUtil.ISOtoUTF8AfterTrimIfNotNull(sort);
        } else {
            this.sort = null;
        }
    }

}
